package com.samuel.basics.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 任务管理表
 * </p>
 *
 * @author 黄阿能
 * @since 2020-02-07
 */
@TableName("t_task_cron")
public class TaskCronEntity extends BaseEntity {

    private static final long serialVersionUID = -4154124881280983822L;
    /**
     * 任务名称
     */
    @TableField("name")
    private String name;

    /**
     * 任务编号
     */
    @TableField("code")
    private String code;

    /**
     * 任务执行规则
     */
    @TableField("cron")
    private String cron;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }
}
